﻿<!DOCTYPE html>
<html>
	<head>
	    <#include "htmlHead.ftl">
         <!-- css -->
         <#if !global.js_debug??>
         <link rel="stylesheet" href="${rc.getContextPath()}/resources/js/zTree_v3-3.5.24/css/zTreeStyle/zTreeStyle.css" />
        </#if>
		<title>工作台</title>
	</head>
	<body>
		<div  id="workspace" class="page-content row" style="padding:12px 0px;"></div>
<#if !global.js_debug??>
<script src="${rc.getContextPath()}/assets/vendor.js"></script>
<script src="${rc.getContextPath()}/assets/common.chunk.js"></script>
<script src="${rc.getContextPath()}/assets/workspace.js"></script>
</#if>
<script type="text/javascript">
var workspace;
$(function(){
    <#if global.js_debug??>
    seajs.use(['resources/template/portal/workspace.js'], function(Workspace){
    </#if>
    	workspace=new Workspace({
            baseUrl:"${rc.getContextPath()}",
            userId:${userId!undefined},
            userName:'${user.account!undefined}',
            org:{
                id:${org.id},
                name:'${org.name}',
                code:'${org.code}'
            }
        });
    <#if global.js_debug??>
    });
    </#if>
});
</script>
    </body>
</html>

